package com.kimi.abyss.rbac.domain;

import com.kimi.abyss.rbac.api.pojo.SysUser;
import org.springframework.data.annotation.*;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;

/**
 * no-op
 *
 * @author kimi
 * @date 2021/7/14
 */
@Table("t_rbac_user")
public class User extends SysUser {

    @Id
    @Override
    public Integer getId() {
        return super.getId();
    }

    @Override
    public String getUsername() {
        return super.getUsername();
    }

    @Override
    public String getPassword() {
        return super.getPassword();
    }

    @Override
    public String getNickname() {
        return super.getNickname();
    }

    @Override
    public Integer getSex() {
        return super.getSex();
    }

    @Override
    public String getMobile() {
        return super.getMobile();
    }

    @Override
    public String getEmail() {
        return super.getEmail();
    }

    @Override
    public Integer getOuId() {
        return super.getOuId();
    }

    @Override
    public String getOpenId() {
        return super.getOpenId();
    }

    @Override
    public String getHeadImg() {
        return super.getHeadImg();
    }

    @Override
    public Boolean getEnabled() {
        return super.getEnabled();
    }

    @Override
    @CreatedDate
    public LocalDateTime getCreatedDate() {
        return super.getCreatedDate();
    }

    @Override
    @CreatedBy
    public String getCreatedBy() {
        return super.getCreatedBy();
    }

    @Override
    @LastModifiedDate
    public LocalDateTime getLastModifiedDate() {
        return super.getLastModifiedDate();
    }

    @Override
    @LastModifiedBy
    public String getLastModifiedBy() {
        return super.getLastModifiedBy();
    }
}